package com.yc.exam.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;

/**
 * 试卷生成及阅卷系统题目表
 *
 * @author exam
 * @since 2022-03-27
 */
@Getter
@Setter
@TableName("exam_topic")
@ApiModel(value = "ExamTopic对象", description = "试卷生成及阅卷系统题目表")
public class ExamTopic implements Serializable {

  private static final long serialVersionUID = 1L;

  @ApiModelProperty("主键")
  @TableField("id")
  private Long id;

  @ApiModelProperty("题目id")
  @TableField("topic_id")
  private Long topicId;

  @ApiModelProperty("试卷生成及阅卷系统id")
  @TableField("exam_id")
  private Long examId;
}
